package entities;

import java.io.Serializable;
import java.util.Date;

import javax.jdo.annotations.Unique;
import javax.persistence.Id;

import com.googlecode.objectify.annotation.Indexed;
import com.googlecode.objectify.annotation.Unindexed;

public class Domain implements Serializable{
	@Id
	private String domain = "";
	
	@Indexed
	private int status = 1; //-1:blacklist, 1: active
	
	@Unindexed
	private String rating = "";
	
	@Unindexed
	private String ip = "";
	
	@Unindexed
	private String googleSafeContent = "";
	
	@Unindexed
	private String googleSafebrowsing = "";
	
	@Unindexed
	private String mcafeeAntivirus = "";
	
	@Unindexed
	private String nortonSafeweb = "";
	
	@Unindexed
	private String webutationReviews = "";
	
	@Unindexed
	private String wot = "";
	
	@Unindexed
	private String wikipedia = "";
	
	@Unindexed
	private String childSafety = "";
	
	@Unindexed
	private String alexaRank = "0";
	
	@Unindexed
	private String googleRank = "0";
	
	@Unindexed
	private String facebookShare = "0";
	
	@Unindexed
	private String facebookLike = "0";
	
	@Unindexed
	private String googleLike = "0";
	
	@Unindexed
	private String twitterShare = "0";

	@Unindexed
	private String nortonSafeContent = "";
	
	@Unindexed
	private String nortonRatingAvg = "";
	
	@Unindexed
	private String nortonThreadReport = "";
	
	@Unindexed
	private String mcAfeeSafeContent = "";
	
	@Unindexed
	private String wotContent = "";
	
	@Unindexed
	private String otherScanSiteContent = "";
	
	@Unindexed
	private String detected = "";
	
	@Unindexed
	private Date created = new Date();
	
	@Unindexed
	private Date updated = new Date();
	
	@Unindexed 
	private boolean processing = false;
	
	@Unindexed
	private String authKey = "";
	
	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getRating() {
		return rating;
	}

	public void setRating(String rating) {
		this.rating = rating;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getGoogleSafeContent() {
		return googleSafeContent;
	}

	public void setGoogleSafeContent(String googleSafeContent) {
		this.googleSafeContent = googleSafeContent;
	}

	public String getGoogleSafebrowsing() {
		return googleSafebrowsing;
	}

	public void setGoogleSafebrowsing(String googleSafebrowsing) {
		this.googleSafebrowsing = googleSafebrowsing;
	}

	public String getMcafeeAntivirus() {
		return mcafeeAntivirus;
	}

	public void setMcafeeAntivirus(String mcafeeAntivirus) {
		this.mcafeeAntivirus = mcafeeAntivirus;
	}

	public String getNortonSafeweb() {
		return nortonSafeweb;
	}

	public void setNortonSafeweb(String nortonSafeweb) {
		this.nortonSafeweb = nortonSafeweb;
	}

	public String getWebutationReviews() {
		return webutationReviews;
	}

	public void setWebutationReviews(String webutationReviews) {
		this.webutationReviews = webutationReviews;
	}

	public String getWot() {
		return wot;
	}

	public void setWot(String wot) {
		this.wot = wot;
	}

	public String getWikipedia() {
		return wikipedia;
	}

	public void setWikipedia(String wikipedia) {
		this.wikipedia = wikipedia;
	}

	public String getChildSafety() {
		return childSafety;
	}

	public void setChildSafety(String childSafety) {
		this.childSafety = childSafety;
	}

	public String getAlexaRank() {
		return alexaRank;
	}

	public void setAlexaRank(String alexaRank) {
		this.alexaRank = alexaRank;
	}

	public String getGoogleRank() {
		return googleRank;
	}

	public void setGoogleRank(String googleRank) {
		this.googleRank = googleRank;
	}

	public String getFacebookShare() {
		return facebookShare;
	}

	public void setFacebookShare(String facebookShare) {
		this.facebookShare = facebookShare;
	}

	public String getFacebookLike() {
		return facebookLike;
	}

	public void setFacebookLike(String facebookLike) {
		this.facebookLike = facebookLike;
	}

	public String getGoogleLike() {
		return googleLike;
	}

	public void setGoogleLike(String googleLike) {
		this.googleLike = googleLike;
	}

	public String getTwitterShare() {
		return twitterShare;
	}

	public void setTwitterShare(String twitterShare) {
		this.twitterShare = twitterShare;
	}

	public String getNortonSafeContent() {
		return nortonSafeContent;
	}

	public void setNortonSafeContent(String nortonSafeContent) {
		this.nortonSafeContent = nortonSafeContent;
	}

	public String getNortonRatingAvg() {
		return nortonRatingAvg;
	}

	public void setNortonRatingAvg(String nortonRatingAvg) {
		this.nortonRatingAvg = nortonRatingAvg;
	}

	public String getNortonThreadReport() {
		return nortonThreadReport;
	}

	public void setNortonThreadReport(String nortonThreadReport) {
		this.nortonThreadReport = nortonThreadReport;
	}

	public String getMcAfeeSafeContent() {
		return mcAfeeSafeContent;
	}

	public void setMcAfeeSafeContent(String mcAfeeSafeContent) {
		this.mcAfeeSafeContent = mcAfeeSafeContent;
	}

	public String getWotContent() {
		return wotContent;
	}

	public void setWotContent(String wotContent) {
		this.wotContent = wotContent;
	}

	public String getOtherScanSiteContent() {
		return otherScanSiteContent;
	}

	public void setOtherScanSiteContent(String otherScanSiteContent) {
		this.otherScanSiteContent = otherScanSiteContent;
	}

	public String getDetected() {
		return detected;
	}

	public void setDetected(String detected) {
		this.detected = detected;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Date getUpdated() {
		return updated;
	}

	public void setUpdated(Date updated) {
		this.updated = updated;
	}

	public boolean isProcessing() {
		return processing;
	}

	public void setProcessing(boolean processing) {
		this.processing = processing;
	}

	public String getAuthKey() {
		return authKey;
	}

	public void setAuthKey(String authKey) {
		this.authKey = authKey;
	}

}
